//
//  NSArray+WLSafeArray.m
//  BDJustice
//
//  Created by 汪磊 on 2017/6/24.
//  Copyright © 2017年 bigKumasann. All rights reserved.
//

#import "NSArray+WLSafeArray.h"

@implementation NSArray (WLSafeArray)

- (id)safeObjectAtIndex:(NSUInteger)index {
    if (index >= self.count) {
        return nil;
    } else {
        return [self objectAtIndex:index];
    }
}

@end
